powered by
kl.compreg(y, x, B = 1, ncores = 1, xnew = NULL) js.compreg(y, x, B = 1, ncores = 1, xnew = NULL)
diri.reg, js.compreg, ols.compreg, comp.reg
library(MASS) x <- as.vector(fgl[, 1]) y <- as.matrix(fgl[, 2:9]) y <- y / rowSums(y) mod1<- kl.compreg(y, x, B = 1, ncores = 1) mod2 <- js.compreg(y, x, B = 1, ncores = 1)
Run the code above in your browser using DataLab